import Axios from 'axios'
const VUE_APP_FEEDBACK_API = process.env.VUE_APP_FEEDBACK_API

// 获取反馈标签列表
export function getLabelList (params) {
  return Axios({
    baseURL: VUE_APP_FEEDBACK_API,
    url: '/api/v1/label/list',
    method: 'get',
    params
  })
}

// 提交反馈
export function submitFeedback (data) {
  return Axios({
    baseURL: VUE_APP_FEEDBACK_API,
    url: '/api/FeedbackReport',
    method: 'post',
    data
  })
}
